package com.market.goods.dao.po;

import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;

/**
 * ������
 */
@ToString
@Table(name = "order_info")
public class OrderInfoPO implements Serializable {
    /**
     * ���
     */
    private Long id;

    /**
     * �ջ���
     */
    private String consignee;

    /**
     * �ռ��˵绰
     */
    @Column(name = "consignee_tel")
    private String consigneeTel;

    /**
     * �ܽ��
     */
    @Column(name = "final_total_amount")
    private BigDecimal finalTotalAmount;

    /**
     * ����״̬
     */
    @Column(name = "order_status")
    private String orderStatus;

    /**
     * �û�id
     */
    @Column(name = "user_id")
    private Long userId;

    /**
     * �ͻ���ַ
     */
    @Column(name = "delivery_address")
    private String deliveryAddress;

    /**
     * ������ע
     */
    @Column(name = "order_comment")
    private String orderComment;

    /**
     * �������ױ�ţ�������֧����)
     */
    @Column(name = "out_trade_no")
    private String outTradeNo;

    /**
     * ��������(������֧����)
     */
    @Column(name = "trade_body")
    private String tradeBody;

    /**
     * ����ʱ��
     */
    @Column(name = "create_time")
    private Date createTime;

    /**
     * ����ʱ��
     */
    @Column(name = "operate_time")
    private Date operateTime;

    /**
     * ʧЧʱ��
     */
    @Column(name = "expire_time")
    private Date expireTime;

    /**
     * ���������
     */
    @Column(name = "tracking_no")
    private String trackingNo;

    /**
     * ���������
     */
    @Column(name = "parent_order_id")
    private Long parentOrderId;

    /**
     * ͼƬ·��
     */
    @Column(name = "img_url")
    private String imgUrl;

    /**
     * ����
     */
    @Column(name = "province_id")
    private Integer provinceId;

    /**
     * �Żݽ��
     */
    @Column(name = "benefit_reduce_amount")
    private BigDecimal benefitReduceAmount;

    /**
     * ԭ�۽��
     */
    @Column(name = "original_total_amount")
    private BigDecimal originalTotalAmount;

    /**
     * �˷�
     */
    @Column(name = "feight_fee")
    private BigDecimal feightFee;

    private static final long serialVersionUID = 1L;

    /**
     * ��ȡ���
     *
     * @return id - ���
     */
    public Long getId() {
        return id;
    }

    /**
     * ���ñ��
     *
     * @param id ���
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * ��ȡ�ջ���
     *
     * @return consignee - �ջ���
     */
    public String getConsignee() {
        return consignee;
    }

    /**
     * �����ջ���
     *
     * @param consignee �ջ���
     */
    public void setConsignee(String consignee) {
        this.consignee = consignee == null ? null : consignee.trim();
    }

    /**
     * ��ȡ�ռ��˵绰
     *
     * @return consignee_tel - �ռ��˵绰
     */
    public String getConsigneeTel() {
        return consigneeTel;
    }

    /**
     * �����ռ��˵绰
     *
     * @param consigneeTel �ռ��˵绰
     */
    public void setConsigneeTel(String consigneeTel) {
        this.consigneeTel = consigneeTel == null ? null : consigneeTel.trim();
    }

    /**
     * ��ȡ�ܽ��
     *
     * @return final_total_amount - �ܽ��
     */
    public BigDecimal getFinalTotalAmount() {
        return finalTotalAmount;
    }

    /**
     * �����ܽ��
     *
     * @param finalTotalAmount �ܽ��
     */
    public void setFinalTotalAmount(BigDecimal finalTotalAmount) {
        this.finalTotalAmount = finalTotalAmount;
    }

    /**
     * ��ȡ����״̬
     *
     * @return order_status - ����״̬
     */
    public String getOrderStatus() {
        return orderStatus;
    }

    /**
     * ���ö���״̬
     *
     * @param orderStatus ����״̬
     */
    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus == null ? null : orderStatus.trim();
    }

    /**
     * ��ȡ�û�id
     *
     * @return user_id - �û�id
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * �����û�id
     *
     * @param userId �û�id
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * ��ȡ�ͻ���ַ
     *
     * @return delivery_address - �ͻ���ַ
     */
    public String getDeliveryAddress() {
        return deliveryAddress;
    }

    /**
     * �����ͻ���ַ
     *
     * @param deliveryAddress �ͻ���ַ
     */
    public void setDeliveryAddress(String deliveryAddress) {
        this.deliveryAddress = deliveryAddress == null ? null : deliveryAddress.trim();
    }

    /**
     * ��ȡ������ע
     *
     * @return order_comment - ������ע
     */
    public String getOrderComment() {
        return orderComment;
    }

    /**
     * ���ö�����ע
     *
     * @param orderComment ������ע
     */
    public void setOrderComment(String orderComment) {
        this.orderComment = orderComment == null ? null : orderComment.trim();
    }

    /**
     * ��ȡ�������ױ�ţ�������֧����)
     *
     * @return out_trade_no - �������ױ�ţ�������֧����)
     */
    public String getOutTradeNo() {
        return outTradeNo;
    }

    /**
     * ���ö������ױ�ţ�������֧����)
     *
     * @param outTradeNo �������ױ�ţ�������֧����)
     */
    public void setOutTradeNo(String outTradeNo) {
        this.outTradeNo = outTradeNo == null ? null : outTradeNo.trim();
    }

    /**
     * ��ȡ��������(������֧����)
     *
     * @return trade_body - ��������(������֧����)
     */
    public String getTradeBody() {
        return tradeBody;
    }

    /**
     * ���ö�������(������֧����)
     *
     * @param tradeBody ��������(������֧����)
     */
    public void setTradeBody(String tradeBody) {
        this.tradeBody = tradeBody == null ? null : tradeBody.trim();
    }

    /**
     * ��ȡ����ʱ��
     *
     * @return create_time - ����ʱ��
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * ���ô���ʱ��
     *
     * @param createTime ����ʱ��
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * ��ȡ����ʱ��
     *
     * @return operate_time - ����ʱ��
     */
    public Date getOperateTime() {
        return operateTime;
    }

    /**
     * ���ò���ʱ��
     *
     * @param operateTime ����ʱ��
     */
    public void setOperateTime(Date operateTime) {
        this.operateTime = operateTime;
    }

    /**
     * ��ȡʧЧʱ��
     *
     * @return expire_time - ʧЧʱ��
     */
    public Date getExpireTime() {
        return expireTime;
    }

    /**
     * ����ʧЧʱ��
     *
     * @param expireTime ʧЧʱ��
     */
    public void setExpireTime(Date expireTime) {
        this.expireTime = expireTime;
    }

    /**
     * ��ȡ���������
     *
     * @return tracking_no - ���������
     */
    public String getTrackingNo() {
        return trackingNo;
    }

    /**
     * �������������
     *
     * @param trackingNo ���������
     */
    public void setTrackingNo(String trackingNo) {
        this.trackingNo = trackingNo == null ? null : trackingNo.trim();
    }

    /**
     * ��ȡ���������
     *
     * @return parent_order_id - ���������
     */
    public Long getParentOrderId() {
        return parentOrderId;
    }

    /**
     * ���ø��������
     *
     * @param parentOrderId ���������
     */
    public void setParentOrderId(Long parentOrderId) {
        this.parentOrderId = parentOrderId;
    }

    /**
     * ��ȡͼƬ·��
     *
     * @return img_url - ͼƬ·��
     */
    public String getImgUrl() {
        return imgUrl;
    }

    /**
     * ����ͼƬ·��
     *
     * @param imgUrl ͼƬ·��
     */
    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl == null ? null : imgUrl.trim();
    }

    /**
     * ��ȡ����
     *
     * @return province_id - ����
     */
    public Integer getProvinceId() {
        return provinceId;
    }

    /**
     * ���õ���
     *
     * @param provinceId ����
     */
    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }

    /**
     * ��ȡ�Żݽ��
     *
     * @return benefit_reduce_amount - �Żݽ��
     */
    public BigDecimal getBenefitReduceAmount() {
        return benefitReduceAmount;
    }

    /**
     * �����Żݽ��
     *
     * @param benefitReduceAmount �Żݽ��
     */
    public void setBenefitReduceAmount(BigDecimal benefitReduceAmount) {
        this.benefitReduceAmount = benefitReduceAmount;
    }

    /**
     * ��ȡԭ�۽��
     *
     * @return original_total_amount - ԭ�۽��
     */
    public BigDecimal getOriginalTotalAmount() {
        return originalTotalAmount;
    }

    /**
     * ����ԭ�۽��
     *
     * @param originalTotalAmount ԭ�۽��
     */
    public void setOriginalTotalAmount(BigDecimal originalTotalAmount) {
        this.originalTotalAmount = originalTotalAmount;
    }

    /**
     * ��ȡ�˷�
     *
     * @return feight_fee - �˷�
     */
    public BigDecimal getFeightFee() {
        return feightFee;
    }

    /**
     * �����˷�
     *
     * @param feightFee �˷�
     */
    public void setFeightFee(BigDecimal feightFee) {
        this.feightFee = feightFee;
    }
}